package com.zhongfl.crm.model.boss;

import com.zhongfl.crm.enums.boss.OrderStatus;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;

/**
 * @Description:
 * @Author: Mawenlei
 * @Date: 2018/5/3 20:15
 */
public class OrdersType implements Serializable {

    @Getter
    @Setter
    private String code;

    @Setter
    @Getter
    private String name;

    @Setter
    @Getter
    private String value;

    @Setter
    @Getter
    private String  createDate;

    @Setter
    @Getter
    private OrderStatus orderStatus;


    public OrdersType(String name, String value) {
        this(name, value, StringUtils.EMPTY);
    }

    public OrdersType(String name, String value, String code) {
        this.name = name;
        this.value = value;
        this.code = code;
    }
}
